﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class IoTbTransferFiling
    {
        public long SerialNo { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string PsnNo { get; set; } = null!;
        /// <summary>
        /// 险种类型
        /// </summary>
        public string? Insutype { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? Certno { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PsnName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Gend { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string? Naty { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Brdy { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public decimal? Age { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Tel { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Addr { get; set; }
        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        public string? InsuOptins { get; set; }
        /// <summary>
        /// 诊断代码
        /// </summary>
        public string DiagCode { get; set; } = null!;
        /// <summary>
        /// 诊断名称
        /// </summary>
        public string DiagName { get; set; } = null!;
        /// <summary>
        /// 疾病病情描述
        /// </summary>
        public string? DiseCondDscr { get; set; }
        /// <summary>
        /// 转往定点医药机构编号（通过【1201】交易获取医药机构管理码）
        /// </summary>
        public string ReflinMedinsNo { get; set; } = null!;
        /// <summary>
        /// 转往医院名称
        /// </summary>
        public string ReflinMedinsName { get; set; } = null!;
        /// <summary>
        /// 就医地行政区划（转往医院所属的行政区划）
        /// </summary>
        public string MdtrtareaAdmdvs { get; set; } = null!;
        /// <summary>
        /// 医院同意转院标志：0否，1是
        /// </summary>
        public string? HospAgreReflFlag { get; set; }
        /// <summary>
        /// 转院类型：1市内转院，2转往省内异地，3转往省外异地
        /// </summary>
        public string ReflType { get; set; } = null!;
        /// <summary>
        /// 转院日期：yyyy-MM-dd
        /// </summary>
        public DateTime ReflDate { get; set; }
        /// <summary>
        /// 转院原因
        /// </summary>
        public string ReflRea { get; set; } = null!;
        /// <summary>
        /// 转院意见
        /// </summary>
        public string ReflOpnn { get; set; } = null!;
        /// <summary>
        /// 开始日期：yyyy-MM-dd
        /// </summary>
        public DateTime? Begndate { get; set; }
        /// <summary>
        /// 结束日期：yyyy-MM-dd
        /// </summary>
        public DateTime? Enddate { get; set; }
        /// <summary>
        /// 转诊使用标志
        /// </summary>
        public string? ReflUsedFlag { get; set; }
        /// <summary>
        /// 待遇申报明细流水号
        /// </summary>
        public string? TrtDclaDetlSn { get; set; }
        /// <summary>
        /// 是否撤销（0否1是）
        /// </summary>
        public bool IsRevoke { get; set; }
        public int? CreateUserId { get; set; }
        public DateTime? CreateOn { get; set; }
        public int? UpdateUserId { get; set; }
        public DateTime? UpdateOn { get; set; }
        public int HospitalId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Memo { get; set; }
    }
}
